Optimal. Leaf size=68 \[ -\frac {A b-2 a B}{b^3 \sqrt {a+b x^2}}+\frac {a (A b-a B)}{3 b^3 \left (a+b x^2\right )^{3/2}}+\frac {B \sqrt {a+b x^2}}{b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {446, 77} \[ -\frac {A b-2 a B}{b^3 \sqrt {a+b x^2}}+\frac {a (A b-a B)}{3 b^3 \left (a+b x^2\right )^{3/2}}+\frac {B \sqrt {a+b x^2}}{b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 446
Rubi steps
\begin {align*} \int \frac {x^3 \left (A+B x^2\right )}{\left (a+b x^2\right )^{5/2}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {x (A+B x)}{(a+b x)^{5/2}} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (\frac {a (-A b+a B)}{b^2 (a+b x)^{5/2}}+\frac {A b-2 a B}{b^2 (a+b x)^{3/2}}+\frac {B}{b^2 \sqrt {a+b x}}\right ) \, dx,x,x^2\right )\\ &=\frac {a (A b-a B)}{3 b^3 \left (a+b x^2\right )^{3/2}}-\frac {A b-2 a B}{b^3 \sqrt {a+b x^2}}+\frac {B \sqrt {a+b x^2}}{b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 54, normalized size = 0.79 \[ \frac {8 a^2 B-2 a b \left (A-6 B x^2\right )+3 b^2 x^2 \left (B x^2-A\right )}{3 b^3 \left (a+b x^2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.88, size = 75, normalized size = 1.10 \[ \frac {{\left (3 \, B b^{2} x^{4} + 8 \, B a^{2} - 2 \, A a b + 3 \, {\left (4 \, B a b - A b^{2}\right )} x^{2}\right )} \sqrt {b x^{2} + a}}{3 \, {\left (b^{5} x^{4} + 2 \, a b^{4} x^{2} + a^{2} b^{3}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.34, size = 62, normalized size = 0.91 \[ \frac {\sqrt {b x^{2} + a} B}{b^{3}} + \frac {6 \, {\left (b x^{2} + a\right )} B a - B a^{2} - 3 \, {\left (b x^{2} + a\right )} A b + A a b}{3 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 53, normalized size = 0.78 \[ -\frac {-3 B \,b^{2} x^{4}+3 A \,b^{2} x^{2}-12 B a b \,x^{2}+2 a b A -8 a^{2} B}{3 \left (b \,x^{2}+a \right )^{\frac {3}{2}} b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.07, size = 89, normalized size = 1.31 \[ \frac {B x^{4}}{{\left (b x^{2} + a\right )}^{\frac {3}{2}} b} + \frac {4 \, B a x^{2}}{{\left (b x^{2} + a\right )}^{\frac {3}{2}} b^{2}} - \frac {A x^{2}}{{\left (b x^{2} + a\right )}^{\frac {3}{2}} b} + \frac {8 \, B a^{2}}{3 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} b^{3}} - \frac {2 \, A a}{3 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.67, size = 59, normalized size = 0.87 \[ \frac {3\,B\,{\left (b\,x^2+a\right )}^2-B\,a^2-3\,A\,b\,\left (b\,x^2+a\right )+6\,B\,a\,\left (b\,x^2+a\right )+A\,a\,b}{3\,b^3\,{\left (b\,x^2+a\right )}^{3/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.97, size = 240, normalized size = 3.53 \[ \begin {cases} - \frac {2 A a b}{3 a b^{3} \sqrt {a + b x^{2}} + 3 b^{4} x^{2} \sqrt {a + b x^{2}}} - \frac {3 A b^{2} x^{2}}{3 a b^{3} \sqrt {a + b x^{2}} + 3 b^{4} x^{2} \sqrt {a + b x^{2}}} + \frac {8 B a^{2}}{3 a b^{3} \sqrt {a + b x^{2}} + 3 b^{4} x^{2} \sqrt {a + b x^{2}}} + \frac {12 B a b x^{2}}{3 a b^{3} \sqrt {a + b x^{2}} + 3 b^{4} x^{2} \sqrt {a + b x^{2}}} + \frac {3 B b^{2} x^{4}}{3 a b^{3} \sqrt {a + b x^{2}} + 3 b^{4} x^{2} \sqrt {a + b x^{2}}} & \text {for}\: b \neq 0 \\\frac {\frac {A x^{4}}{4} + \frac {B x^{6}}{6}}{a^{\frac {5}{2}}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________